{volist name="$configList" id="field"}
<dl class="row">
    <dt class="tit"><label for="{$field.attr_var_name}">{$field.attr_name}</label></dt>
    {if condition="4 == $field.attr_input_type"}
        <!-- 开关类型 -->
        
    {elseif condition="3 == $field.attr_input_type"}
        <!-- 图片类型 -->
        {if condition='2 == $field.attr_id'}
        <!-- 上传网站LOGO -->
        <dd class="opt">
            <div class="dan-pane">
                <div class="images_upload images_upload_html" style="display: inline-block;">
                    <a href="javascript:void(0);" onclick="uploadExecution('{$field.attr_var_name}');" class="img-upload no-float" title="点击上传">
                        <div class="y-line" id="{$field.attr_var_name}_y_line" {notempty name="$field.value"} style="display: none;" {/notempty}></div>
                        <div class="x-line" id="{$field.attr_var_name}_x_line" {notempty name="$field.value"} style="display: none;" {/notempty}></div>
                        <img class="pic_con" id="{$field.attr_var_name}_src" src="{$field.value}" {empty name="$field.value"} style="display: none;" {/empty}>
                    </a>
                    <a href="javascript:void(0)" onclick="uploadCallbacks('', true, '{$field.attr_var_name}');" class="delect" title="删除"></a>
                    <input type="hidden" id="{$field.attr_var_name}" name="{$field.attr_var_name}" value="{$field.value}">
                </div>
            </div>
        </dd>
        {else/}
        <!-- 上传其他图片 -->
        <dd class="opt">
            <div class="input-file-show">
                <span class="show">
                    <a id="{$field.attr_var_name}_a" class="nyroModal" rel="gal" href="{$field.value|default='javascript:void(0);'}?t={php}echo time();{/php}" target="_blank">
                        <i id="{$field.attr_var_name}_i" class="fa fa-picture-o" {notempty name="$field.value"}onmouseover="layer_tips=layer.tips('<img src={$field.value|default=''}?t={php}echo time();{/php} width=32 height=32>',this,{tips: [1, '#fff']});"{/notempty} onmouseout="layer.close(layer_tips);"></i>
                    </a>
                </span>
                <span class="type-file-box">
                    <input type="text" id="{$field.attr_var_name}" name="{$field.attr_var_name}" value="{$field.value|default=''}" class="type-file-text" autocomplete="off">
                    <input type="button" name="button" id="button1" value="选择上传..." class="type-file-button">
                    <input class="type-file-file" onClick="uploadExecution('{$field.attr_var_name}');" size="30" hidefocus="true" nc_type="change_site_logo" title="点击前方预览图可查看大图，点击按钮选择文件并提交表单后上传生效">
                </span>
            </div>
            {if condition='3 == $field.attr_id'}
            <p class="notic">建议尺寸 32 * 32 (像素) 的.ico文件。<br/>如果无法正常显示新上传图标，清空浏览器缓存后访问。</p>
            {else/}
            <!-- 暂无 -->
            {/if}
        </dd>
        {/if}
    {else /}
        <!-- 文本类型 -->
        <dd class="opt ui-text">
            <input type="text" id="{$field.attr_var_name}" name="{$field.attr_var_name}" value="{$field.value}" class="input-txt ui-input"/>
            {if condition='1 == $field.attr_id'}
            <p class="notic">一般不超过10个字符</p>
            <p class="ui-big-text none">一般不超过10个字符（<span class="ui-textTips">还可以输入10个字符</span>）</p>
            {else/}
            <!-- 暂无 -->
            {/if}
        </dd>
    {/if}
</dl>
{/volist}